package com.aust.dynamicProxy.test4;

public interface Calculator {
    /**
     * 加
     *
     * @param a
     * @param b
     * @return
     */
    int add(int a, int b) throws InterruptedException;

    /**
     * 减
     *
     * @param a
     * @param b
     * @return
     */
    int sub(int a, int b) throws InterruptedException;

    /**
     * 乘
     *
     * @param a
     * @param b
     * @return
     */
    int mul(int a, int b) throws InterruptedException;

    /**
     * 除
     *
     * @param a
     * @param b
     * @return
     */
    int div(int a, int b) throws InterruptedException;
}
